package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.system.domain.PUserBill;
import com.ruoyi.system.domain.vo.PUserBillVo;
import com.ruoyi.system.domain.vo.WalletVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 账单Mapper接口
 *
 * @author ruoyi
 * @date 2022-07-26
 */
public interface PUserBillMapper extends BaseMapperPlus<PUserBillMapper, PUserBill, PUserBillVo> {

    WalletVO selectMyWallet(@Param("userId") Long userId);

    List<PUserBill> selectListCustom(@Param("pageQuery") PageQuery pageQuery, @Param("end") String end);

    List<PUserBill> integralDetail(@Param("userId") Long userId, @Param("pageQuery") PageQuery pageQuery);
}
